package com.fangzhi.mobel;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 部门表
 * @TableName dept_base_info
 */
@TableName(value ="dept_base_info")
@Data
public class DeptBaseInfo implements Serializable {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 部门名称 
     */
    private String deptName;

    /**
     * 上级部门id
     */
    private Long parentId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}